package com.software.demo3.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "t_hourly")
@PrimaryKeyJoinColumn(name = "employee_id")
public class HourlyEmployee extends Employee {
    private double rate;
}
